Test smells 20 years later: detectability, validity, and reliability

نویسندگان

چکیده

Abstract Test smells aim to capture design issues in test code that reduces its maintainability. These have been extensively studied and generally found quite prevalent both human-written automatically generated test-cases. However, most evidence of prevalence is based on specific static detection rules. Although those are the original, conceptual definitions various smells, recent empirical studies indicate developers perceive warnings raised by tools as overly strict non-representative maintainability quality suites. This leads us re-assess smell tools’ accuracy investigate detectability more broadly. Specifically, we construct a hand-annotated dataset spanning hundreds suites written two generation ( EvoSuite JTExpert ) performed multi-stage, cross-validated manual analysis identify presence six types these. We then use this labeling benchmark performance external validity tools—one widely used prior work one recently introduced with express goal match developer perceptions smells. Our results primarily show current vocabulary highly mismatched real concerns: multiple were ubiquitous developer-written tests but virtually never correlated semantic or flaws; machine-generated actually often scored better, reality, suffered from host problems not well-captured Current strategies poorly characterized these suites; particular, older tool’s misclassified over 70% missing instances (false negatives) marking many smell-free smelly positives). common patterns can be improve tools, refine update definition certain highlight yet uncharacterized issues. findings suggest need for (i) appropriate metrics development practice, (ii) accurate evaluated industrial contexts.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Case , 20 Years Later

The theory of abstract Case in the framework of Government and Binding played an important role in capturing cross-linguistic generalizations regarding order and constituency and accommodating exceptions to word order universals. Case was shown to be relevant even in languages without morphological case markings. Indeed, Li (1985, 1990) demonstrated that Case facilitated the understading of a w...

متن کامل

Turing Test Years Later

The Turing Test is one of the most disputed topics in arti cial intel ligence philosophy of mind and cognitive science This paper is a review of the past years of the Turing Test Philosophical debates practical developments and repercussions in related disciplines are all covered We discuss Turing s ideas in detail and present the important comments that have been made on them Within this conte...

متن کامل

Hard Diffraction — 20 Years Later

The idea of diffractive processes with a hard scale involved, to resolve the underlying parton dynamics , was published 1985 and experimentally verified 1988. Today hard diffraction is an active research field with high-quality data and new theoretical models. The trend from Regge-based pomeron models to QCD-based parton level models has given insights on QCD dynamics involving perturbative glu...

متن کامل

The Pronuclei - 20 Years Later

The early mouse embryo is an excellent model to study chromatin changes that underlie zygotic gene activation. Chromatin remodelling in the fertilised mouse egg is intimately linked to protein synthesis and degradation, to protamine by histone replacement and to specific histone modifications. Roumen Tsanev made significant contributions in this field of research. He generated seminal data on p...

متن کامل

Informed Consent 20 Years Later

The title of this paper is an allusion to a previous article, published in the Canadian Bar Review in 1991, entitled Informed Consent Ten Years Later: The Impact of Reibl v. Hughes. The purpose of the 1991 article was to examine developments in the law of informed consent following the seminal decision of the Supreme Court of Canada in Reibl v. Hughes. The 1991 study identified certain themes a...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Empirical Software Engineering

سال: 2022

ISSN: ['1382-3256', '1573-7616']

DOI: https://doi.org/10.1007/s10664-022-10207-5